var IP = '172.48.2.2';
var API = 'http://' + IP + ':8080/';
var PANDA_PATH = 'http://172.48.2.1/panda/dx/';
var PLATFORM = '1000000002' // 10熊猫移动，11熊猫联通，12熊猫电信
var TYPEIDS = {};
var orderCode = '' // 鉴权code;
var dialogProductId = '' // 弹出层产品包ID
var orderProductId = '' // 订购产品包ID

if (PLATFORM == '1000000000') {
  // 移动的TYPEID
  TYPEIDS = {
    HOME: '1278625863461507074',
    MESSAGE: '1279068615227740161',
    MAIN1: '1278625700005285889',
    MAIN2: '1278625744116781058',
    MAIN3: '1278625780032606209',
    MAIN4: '1278625838559924226',
    LOOK: '1278626952315408385',
    NEW: '1278625984089690113',
    LIKE: '1278626057506787329',
    ALL: '1278626088850821121',
    VIDEOS: '1278626413859049474',
    CARTOON: '1278627883778052097',
    AD: '1281265943783149569',
    ORDER: '1290330155843063810',
    BG: '1284087959661842433',
    FIRE: '1293215516906754050'
  }
  orderCode = 'f3c2bfe983ed4902965ceceeb3be7078';
  dialogProductId = '20050604182847000003';
  orderProductId = '20050604182533000002'
} else if (PLATFORM == '1000000001') {
  // 联通的TYPEID
  TYPEIDS = {
    HOME: '1293189948958052353',
    MESSAGE: '1293190165681934338',
    MAIN1: '1293190825353678849',
    MAIN2: '1293190867946835970',
    MAIN3: '1293190905611685890',
    MAIN4: '1293190942693527554',
    LOOK: '1293190231205351425',
    NEW: '1293190433173671937',
    LIKE: '1293190366052225025',
    ALL: '1293190601503674370',
    VIDEOS: '1293190278085087234',
    CARTOON: '1293190046802776066',
    AD: '1293190541231525890',
    ORDER: '1293190635884384258',
    BG: '1293190492527267842',
    FIRE: '1293848471488434178'
  }
  orderCode = 'f3c2bfe983ed4902965ceceeb3be7078';
  dialogProductId = '';
  orderProductId = '2418028400'
} else if (PLATFORM == '1000000002') {
  // 联通的TYPEID
  TYPEIDS = {
    HOME: '1294322391471624194',
    MESSAGE: '1294322452192563202',
    MAIN1: '1294323201249120257',
    MAIN2: '1294323239933186050',
    MAIN3: '1294323279040876546',
    MAIN4: '1294323320807755777',
    LOOK: '1294322502515822594',
    NEW: '1294322729020821506',
    LIKE: '1294322693327294466',
    ALL: '1294322861011374082',
    VIDEOS: '1294322648842506242',
    CARTOON: '1294322423914565633',
    AD: '1294322819601010690',
    ORDER: '1294323093061242881',
    BG: '1294322782452060161',
    FIRE: '1294323005031190530'
  }
  orderCode = 'f3c2bfe983ed4902965ceceeb3be7078';
  dialogProductId = '';
  orderProductId = '2418028400'
}


var USERID = ''
var MAC = ''
var HOST = ''

try {
  USERID = Authentication.CUGetConfig('UserID');
  MAC = Authentication.CUGetConfig('mac');
  HOST = Authentication.CUGetConfig('EPGDomain')
} catch (err) {
  HOST = MAC = USERID = '1000000'
}